a = float(input())
b = float(input())
m = float(input())
n = float(input())
print(f"两车交汇时长为{(a+b)/(m+n):.2f}秒.")